#!/bin/sh
[[ "$(pidof ${0##*/} | wc -w)" -gt "2" ]] && echo "Already running ..." && return 2

while [ 1 ];
do
	has3g=`ls /dev/ttyUSB0 2>/dev/null`
	if [[ $has3g != "" ]];then
		/etc/init.d/skthreadd stop
		exit
	fi
	sleep 60
done
